package com.zhouxiaoge.数组;

/**
 * @author 周明阳
 * mail:gqzmy@outlook.com
 * 时间:2018-04-28 11:21
 */

public class _Main {
    public static void main(String[] args) {
        if (args[0].equals("-h")) {
            System.out.print("Hello,");
        } else if (args[0].equals("-g")) {
            System.out.print("Goodbye,");
        }
        for (int i = 1; i < args.length; i++) {
            System.out.print(" " + args[i]);
        }
        System.out.print("!");
    }
}
